package com.ruoyi.personnel.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 银行卡对象 e_bank_card
 *
 * @author ruoyi
 * @date 2024-11-25
 */
@Data
public class EBankCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 绑定状态(0是解绑，1是绑定中) */
    @Excel(name = "绑定状态(0是解绑，1是绑定中)")
    private Long bindingStatus;

    /** 国家 */
    @Excel(name = "国家")
    private String country;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String depositTakingBank;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardNumber;

    /** 开户人 */
    @Excel(name = "开户人")
    private String accountHolder;

    /** 绑定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "绑定时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date bindingTime;

    /** 支付密码 */
    @Excel(name = "支付密码")
    private String paymentPassword;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBindingStatus(Long bindingStatus)
    {
        this.bindingStatus = bindingStatus;
    }

    public Long getBindingStatus()
    {
        return bindingStatus;
    }
    public void setCountry(String country)
    {
        this.country = country;
    }

    public String getCountry()
    {
        return country;
    }
    public void setDepositTakingBank(String depositTakingBank)
    {
        this.depositTakingBank = depositTakingBank;
    }

    public String getDepositTakingBank()
    {
        return depositTakingBank;
    }
    public void setBankCardNumber(String bankCardNumber)
    {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankCardNumber()
    {
        return bankCardNumber;
    }
    public void setAccountHolder(String accountHolder)
    {
        this.accountHolder = accountHolder;
    }

    public String getAccountHolder()
    {
        return accountHolder;
    }
    public void setBindingTime(Date bindingTime)
    {
        this.bindingTime = bindingTime;
    }

    public Date getBindingTime()
    {
        return bindingTime;
    }
    public void setPaymentPassword(String paymentPassword)
    {
        this.paymentPassword = paymentPassword;
    }

    public String getPaymentPassword()
    {
        return paymentPassword;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("bindingStatus", getBindingStatus())
                .append("country", getCountry())
                .append("depositTakingBank", getDepositTakingBank())
                .append("bankCardNumber", getBankCardNumber())
                .append("accountHolder", getAccountHolder())
                .append("bindingTime", getBindingTime())
                .append("paymentPassword", getPaymentPassword())
                .toString();
    }
}
